/*
 * For mtk project to provide gps tag interface!
 */
 
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "exif.h"
#include "makers.h"
#include "exifGport.h"
#include "types.h"
/*
 *General I/O
 */
extern int FS_Open(const WCHAR * FileName, int Flag);
extern int FS_Close(FS_HANDLE FileHandle);
extern int FS_CloseAll(void);
extern int FS_Read(FS_HANDLE FileHandle, void * DataPtr, int Length, int * Read);
extern int FS_Write(FS_HANDLE FileHandle, void * DataPtr, int Length, int * Written);
extern int FS_Seek(FS_HANDLE FileHandle, int Offset, int Whence);


/*
 * Try to read a .
 */ 
return_error lenovoExifGetTagGPS(unsigned short  *path, char *GpsStruct)
{	
FS_HANDLE fd;
	/*
	 *Check para 
	 */
	if(sizeof(GpsStruct) < 100 )
		return exif_BUFERROR;
	//static int doit(FILE *fp, int dumplvl, int pas)
	fd = FS_Open(path,0);
	
	doit(fd,0,0);
	
	
	return exif_OK;
}

/*
 * Try to add a .
 */
return_error lenovoExifAddTagGPS(unsigned short  *path, char *GpsStruct)
{

	return exif_OK;
}